import { Module } from '@nestjs/common'
// import { JwtModule } from '@nestjs/jwt'
import { TypeOrmModule } from '@nestjs/typeorm'
import { CommentEntity } from './entities/comment.entity'
import { CommentService } from './comment.service'
import { TokenService } from '@/src/auth/token.service'
import { AuthModule } from '../auth/auth.module'
import { UserEntity } from '../user/entities/user.entity'
import { UserModule } from '../user/user.module'

@Module({
  imports: [
    TypeOrmModule.forFeature([CommentEntity, UserEntity]),
    AuthModule,
    UserModule
  ],
  providers: [CommentService, TokenService],
  exports: [CommentService, TokenService]
})
export class CommentModule { }
